<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style type="text/css">
        span {
            display: block;
        }

        span:first-line {
            color: #f00;
            font-size: 20pt;
        }

        section:first-line {
            color: #00f;
            font-size: 30pt;
        }

        p:first-line {
            color: #00f;
            font-size: 30pt;
        }
    </style>
</head>
<body>
<span>abcdefg<br/>hijklmn</span>
<section>春眠不觉晓，<br/>处处闻啼鸟。</section>
<p style="width:160px">唐诗三百首</p>
</body>
</html>